import low from 'lowdb'
import FileSync from 'lowdb/adapters/FileSync'
import {remote} from 'electron'
var configDir = remote.app.getPath('userData');
const adapter = new FileSync(configDir+"/db.json")
const db = low(adapter)

export default db;